package com.xubeizhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.corba.se.spi.ior.ObjectKey;
import com.xubeizhi.entity.UserAuth;
import com.xubeizhi.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 系统管理 - 用户角色关联表Mapper
 * @author mi
 * @create 2023/3/3 19:57
 */
@Repository
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
        void deleteByUserIds(@Param("ids")List<Integer> ids);

        UserAuth getByUserId(Object loginId);
}
